//
//  DYBaseView.m
//  BaiSi
//
//  Created by mac on 16/10/29.
//  Copyright © 2016年 DeYi. All rights reserved.
//

#import "DYBaseView.h"


@implementation DYBaseView

+ (instancetype)ViewFromXib {
    return [[[NSBundle mainBundle] loadNibNamed:NSStringFromClass(self) owner:nil options:nil] firstObject];
}

- (void)setItem:(DYThemeItem *)item {
    _item = item;
}

- (void)awakeFromNib {
    self.autoresizingMask = UIViewAutoresizingNone;
}
@end
